Adobe AIR Cookbook by David Tucker & Marco Casario & Koen De Weggheleire & Koen De Weggheleire & Rich Tretola

Adobe AIR Cookbook by David Tucker & Marco Casario & Koen De Weggheleire & Koen De Weggheleire & Rich Tretola

Author:David Tucker & Marco Casario & Koen De Weggheleire & Koen De Weggheleire & Rich Tretola [David Tucker]
Language: eng
Format: epub
Tags: COMPUTERS / Programming Languages / JavaScript
ISBN: 9780596554125
Publisher: Adobe Dev Library
Published: 2008-11-17T16:00:00+00:00


Discussion

In this example, the custom class, ImageCacheManager, checks whether the requested image is cached locally first, before trying to load it from the Internet. If the local version exists, it is used. If not, the remote version is loaded and cached. This class is a singleton, and the single instance of this class can be retrieved by calling the getInstance method.

Note

The application uses the as3corelib library for the MD5 hashing. You must add this library to your project for it to work. You can download the application here: http://code.google.com/p/as3corelib/.



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.